package com.lizheng.yunservice.travel.mapper;

import com.lizheng.yunservice.travel.doamin.vo.VtpAppScenicHistoryVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface VtpAppScenicHistoryMapper {
    @Select("SELECT * FROM vtp_scenic_history WHERE scenic_id = #{scenicId} AND delete_flag = 0")
    List<VtpAppScenicHistoryVo> selectByScenicId(@Param("scenicId") Long scenicId); // 参数类型改为Long
}
